package com.qfedu.edu.enum1;

/**
 * @author xiaobobo
 * @title: BuyStatus
 * @projectName seckill-fy-2401-parent
 * @description: TODO
 * @date 2024/11/11  16:54
 */
public enum BuyStatus {

    BUYING(0, "正在购买"),
    SUCCESS(1, "购买成功"),
    FAIL(2, "购买失败");

    //状态
    private Integer status;
    //说明
    private String message;

    BuyStatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
